
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/add'
    },
    {
      path: '/add',
      component:()=>import('../views/AddMoneyView.vue')
    },
    {
      path: '/show',
      component:()=>import('../views/ShowMoneyView.vue')
    },
  ]
})

export default router